package com.orcamento.dao;

import java.util.List;

import com.orcamento.entity.CreditCard;

public class CreditCardDao extends AbstractDao<CreditCard> {

	public CreditCardDao() {
		super(CreditCard.class);
	}

	public CreditCard save(CreditCard creditCard) {
		return super.saveEntity(creditCard);
	}

	public List<CreditCard> findAllByAccount(Long accountId) {
		return super.findAllByAccount(accountId);
	}

	public CreditCard findByIdAndAccount(Long id, Long accountId) {
		return super.findByIdAndAccount(id, accountId);
	}

}
